<?php
/**
 * 销量录入模型
 */
class userSalesModel extends RelationModel {
    
    
    protected $_link = array(

        'user'=>array(
            'mapping_type'          =>BELONGS_TO,
            'foreign_key'=>'userId',
            'class_name'=>'admin',
            'mapping_fields'=>'realName,userName',
        ),        
    );
       
}

?>